package com.bigdata.service.service;

import com.bigdata.service.domain.PointTransactions;
import com.bigdata.service.domain.vo.PointTransactionsVo;
import com.bigdata.service.domain.bo.PointTransactionsBo;
import com.bigdata.common.core.page.TableDataInfo;
import com.bigdata.common.core.domain.PageQuery;

import java.util.Collection;
import java.util.List;

/**
 * 积分交易明细Service接口
 *
 * @author ruoyi
 * @date 2025-07-15
 */
public interface IPointTransactionsService {

    /**
     * 查询积分交易明细
     */
    PointTransactionsVo queryById(String transactionId);

    /**
     * 查询积分交易明细列表
     */
    TableDataInfo<PointTransactionsVo> queryPageList(PointTransactionsBo bo, PageQuery pageQuery);

    /**
     * 查询积分交易明细列表
     */
    List<PointTransactionsVo> queryList(PointTransactionsBo bo);

    /**
     * 新增积分交易明细
     */
    Boolean insertByBo(PointTransactionsBo bo);

    /**
     * 修改积分交易明细
     */
    Boolean updateByBo(PointTransactionsBo bo);

    /**
     * 校验并批量删除积分交易明细信息
     */
    Boolean deleteWithValidByIds(Collection<String> ids, Boolean isValid);
}
